package linear;

public class SequenceListTest {
    public static void main(String[] args) {
        SequenceList<String> sl=new SequenceList<String>(3);
        sl.insert("张三");
        sl.insert("李四");
        sl.insert("王五");
        System.out.println(sl.get(0));
        System.out.println(sl.get(1));
        System.out.println(sl.get(2));
        for (String s:sl){
            System.out.println(s);
        }
    }
}
